import tensorflow as tf
import  numpy as np

from tensorflow.examples.tutorials.mnist import input_data
flags = tf.app.flags

flags.DEFINE_string("mnist",'D:/box/minist','doc mnist')

mnist = input_data.read_data_sets('D:/box/minist',one_hot=True)

print('type of mnists is :',type(mnist))

print('number of train data',mnist.train.num_examples)

print('number of test data',mnist.test.num_examples)
